﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MySQLite.Models
{
    public class LogCondition
    {
        private string _logType = string.Empty;
        public string LogType
        {
            get { return _logType; }
            set { _logType = value; }
        }

        private string _logLevel = string.Empty;
        public string LogLevel
        {
            get { return _logLevel; }
            set { _logLevel = value; }
        }

        private string _logContent = string.Empty;
        public string LogContent
        {
            get { return _logContent; }
            set { _logContent = value; }
        }

        private string _startTime = string.Empty;
        public string StartTime
        {
            get { return _startTime; }
            set { _startTime = value; }
        }

        private string _endTime = string.Empty;
        public string EndTime
        {
            get { return _endTime; }
            set { _endTime = value; }
        }
    }

    public class LogModel : BaseModel
    {
        private string? _logType;
        public string? LogType
        {
            get { return _logType; }
            set { _logType = value; }
        }

        private string? _logLevel;
        public string? LogLevel
        {
            get { return _logLevel; }
            set { _logLevel = value; }
        }

        private string? _logContent;
        public string? LogContent
        {
            get { return _logContent; }
            set { _logContent = value; }
        }
    }
}
